package com.jdbctemplate.pojo;

/**
 * @author 从卿
 * @create 2022/5/31-19:55
 */
public class StudentInfo {
    String name ;//姓名
    String age;//年龄
    String address;//地址

    public StudentInfo() {
    }

    public StudentInfo(String name, String age, String address) {
        this.name = name;
        this.age = age;
        this.address = address;
    }

    public StudentInfo(String name, String address) {
        this.name = name;
        this.address = address;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "StudentInfo{" +
                "name='" + name + '\'' +
                ", age='" + age + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
